package com.hopes.bizz.close.visitor.dto;

import com.hopes.bizz.close.common.constant.CloseModuleEnums;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 危险品车辆绑定GPS DTO
 * @time 2024/1/29 11:33
 */
@Data
public class ClosedHazardCardBindGpsDTO implements Serializable {

    private static final long serialVersionUID = -5498098665202136523L;

    /**
     * 危险品车辆预约Id
     */
    @NotNull(message = "危险品车辆不可为空")
    private Long hazardApplyId;

    /**
     * Gps 设备编码
     */
    @NotNull(message = "Gps设备不可为空")
    private String gpsDeviceNo;

    /**
     * 绑定、解除
     */
    @NotNull(message = "Gps设备操作类型不可为空")
    private CloseModuleEnums.HazardCarGpsEnum hazardCarGpsEnum;

}
